package com.neo.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Getter
@Setter
@Document(collection = "taskRecordResult")
public class TaskRecordResult {
    @MongoId
    private String id;

    private Long ruleId;

    private String userId;

    private String userName;

    private int approve;

    private Integer jobId;

    private Integer toolId;

    private Long logId;

    private Integer score;

    private LocalDateTime executionTime;


    private List<Map<String, Object>> metricData;
}
